﻿Public Class CompentStateInfo
    Inherits PropertyChangeBase

    Private _CompentName As String
    Public Property CompentName As String
        Get
            Return _CompentName
        End Get
        Set(value As String)
            If _CompentName <> value Then
                OnPropertyChanging("CompentName")
                _CompentName = value
                OnPropertyChanged("CompentName")
            End If
        End Set
    End Property

    Private _IsEnable As Boolean
    Public Property IsEnable() As Boolean
        Get
            Return _IsEnable
        End Get
        Set(ByVal value As Boolean)
            OnPropertyChanging("IsEnable")
            _IsEnable = value
            OnPropertyChanged("IsEnable")
        End Set
    End Property

    Private _Priority As Integer
    Public Property Priority() As Integer
        Get
            Return _Priority
        End Get
        Set(ByVal value As Integer)
            OnPropertyChanging("Priority")
            _Priority = value
            OnPropertyChanged("Priority")
        End Set
    End Property

End Class
